<%--
    Document   : commande
    Created on : 27 mai 2012, 11:31:10
    Author     : Thomas
--%>

<%@include file="_header.jsp" %>
<%@include file="_left.jsp" %>

<%! String error_msg; %>
<% error_msg = (String)request.getAttribute("error_msg"); %>

<div class="span7">
<% if (error_msg != null) { %>
    <h3>Oups !</h3>
    <br/>
    <div class="alert-error"><strong><%= error_msg %></strong></div>
    <hr/>
    <div class="row-fluid">
        <div class="pull-right">
            <a class="btn btn-primary" href="<%= request.getContextPath() %>/Order?action=validerCommande">OK</a>
        </div>
    </div>
<% } else { %>
    <h3>Ma commande : articles (&eacute;tape 3/5)</h3>
    <br/>
    <p>
        <em>Merci de v&eacute;rifier le contenu de votre panier avant le traitement de votre commande.</em>
    </p>
    <br/>
    <%@include file="_detailpanier.jsp" %>
    <hr/>
    <div class="row-fluid">
        <form class="form-horizontal" method="post" action="<%= request.getContextPath() %>/Order?action=validerCommande">
            <div class="pull-left">
                <input type="submit" class="btn btn-danger" name="cancel" value="annuler"/>
            </div>
            <div class="pull-right">
                <input type="submit" class="btn" name="previous" value="&larr;&nbsp;adresse"/>
                <input type="submit" class="btn btn-primary" name="next" value="r&eacute;sum&eacute;&nbsp;&rarr;"/>
            </div>
        </form>
    </div>
<% } %>
</div>

<%@include file="_right.jsp" %>
<%@include file="_footer.jsp" %>